<template>
  <div id="app">
    <transition name="fade" appear>
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
import Layout from "@/components/Layout.vue";
import NavAside from "@/components/NavAside.vue";
import MainHead from "@/components/MainHead.vue";
export default {
  components: {
    // eslint-disable-next-line vue/no-unused-components
    Layout,
    // eslint-disable-next-line vue/no-unused-components
    NavAside: NavAside,
    // eslint-disable-next-line vue/no-unused-components
    MainHead,
  },
};
</script>

<style lang="less">
@import url(~@/style/mixin.less);
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}
</style>
